package com.openvid.webrtc.openvid.cmd.join_room;

import java.util.ArrayList;
import java.util.List;

/**
 * @author jinyf
 */
public class RespJoinRoom {

    private String id;
    private String mediaServer;
    private List<RespIceServer> customIceServers;

    private String coturnIp;
    private String coturnPort;
    private String turnUsername;
    private String turnCredential;

    public String getTurnUsername() {
        return turnUsername;
    }

    public String getTurnCredential() {
        return turnCredential;
    }

    public String getCoturnIp() {
        return coturnIp;
    }

    public String getCoturnPort() {
        return coturnPort;
    }

    public String getId() {
        return id;
    }

    public String getMediaServer() {
        return mediaServer;
    }

    public List<RespIceServer> getCustomIceServers() {
        return customIceServers;
    }

    public static class RespIceServer {

        private String[] urls;
        private String url;
        private String username;
        private String credential;


        public String[] getUrls() {
            return urls;
        }

        public String getUrl() {
            return url;
        }

        public String getUsername() {
            return username;
        }

        public String getCredential() {
            return credential;
        }
    }

}
